package com.diligent.cloud.sfc.service;

import com.canny.commons.model.ListResult;
import com.canny.commons.model.ObjectResult;
import com.diligent.cloud.sfc.model.params.inventory.AluminumStickInventoryParams;
import org.springframework.http.ResponseEntity;

import java.security.Principal;

/**
 * WorkShopExtrusionService interface
 *
 * @author xf107278
 * @date 4/24/2020
 */
public interface WorkShopExtrusionService {

    ObjectResult addAluminumStickInventory(AluminumStickInventoryParams aluminumStickInventoryParams, Principal principal);

    ListResult boxReportedFilter(String machCode,String orderId,Boolean isHanging);

    ObjectResult userBox(Long boxId,Principal principal);

    ResponseEntity<ListResult> matStock(String machCode, String type,Long pageIndex, Long pageSize);

    ResponseEntity<ObjectResult> cancelUseBox(Long boxFillMasterId,  Principal principal);

    ResponseEntity<ListResult> warmingMatFilter(String machCode, Long pageIndex,Long pageSize,String Type);







}
